#ifndef _RECEIVER_H_
#define _RECEIVER_H_

// 抽象接收者
class Receiver
{
public:
    Receiver();
    virtual ~Receiver();
    
public:
    // 接收者业务
    virtual void DoSomething() = 0;
};

class ConcreteReceiver1 : public Receiver
{
public:
    ConcreteReceiver1();
    ~ConcreteReceiver1();

public:
    virtual void DoSomething();   
};

class ConcreteReceiver2 : public Receiver
{
public:
    ConcreteReceiver2();
    ~ConcreteReceiver2();

public:
    virtual void DoSomething();   
};

#endif // _RECEIVER_H_